package com.sc.nft.entity.dto;

import com.sc.nft.dto.IdRequest;
import com.sc.nft.enums.TradingPoolQueryAccountEnum;
import com.sc.nft.enums.TradingPoolQueryContentEnum;
import com.sc.nft.enums.TradingPoolQueryOperationEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 刘国航
 * @desc
 * @since 2024/10/31 16:56
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class TradingPoolQueryUsableDTO extends IdRequest implements Serializable {

    private static final long serialVersionUID = 4441711912281237919L;

    @ApiModelProperty("操作类型")
    @NotNull(message = "操作类型不能为空")
    private TradingPoolQueryOperationEnum operation;

    @ApiModelProperty("内容")
    @NotNull(message = "内容不能为空")
    private TradingPoolQueryContentEnum content;

    @ApiModelProperty("账号")
    private TradingPoolQueryAccountEnum accountType;

}
